﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace TP5Like.DBModelValidate
{
    public class AddressModelRule : ModelRuleValidateR
    {
        
        public AddressModelRule()
        {
            rule = new string[] { "City=>Require|StringLenth:5", };
            message = new string[] { "City.Require=>需要城市这个值",
                "City.StringLenth=>城市这个值只能由5个子" };
        }

      
    }
}
